<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="utf-8">
    <title>facepay</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="favicon.ico">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
    <link rel="stylesheet" href="css/main.css" media="all" />
</head>
<body class="main_body">
<div class="layui-layout layui-layout-admin">
    <!-- 顶部 -->
    <div class="layui-header header">
        <div class="layui-main">
            <a href="#" class="logo">facepay</a>
            <!-- 显示/隐藏菜单 -->
            <a href="javascript:" class="iconfont hideMenu icon-menu1"></a>
            <!-- 搜索 -->
            <div class="layui-form component">
                <i class="layui-icon">&#xe615;</i>
            </div>

            <!-- 顶部右侧菜单 -->
            <ul class="layui-nav top_menu">
                <li class="layui-nav-item" mobile>
                    <a th:href="@{/logout}" class="signOut"><i class="iconfont icon-loginout"></i> 退出</a>
                </li>
                <li class="layui-nav-item" pc>
                    <a href="javascript:">
                        <img src="images/face.jpg" class="layui-circle" width="35" height="35">
                        <cite sec:authentication="name"></cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:" data-url="/safe/userInfo"><i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>我的资料</cite></a></dd>
                        <dd><a href="javascript:" data-url="/safe/change_pwd"><i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>修改密码</cite></a></dd>
                        <dd><a href="javascript:" data-url="/safe/mobile_info"><i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>手机绑定</cite></a></dd>
                        <dd sec:authorize="hasAnyRole('ENTERPRISE_MANAGER','AGENCY_MANAGER')" >
                            <a href="javascript:" data-url="/withdrawUser/info">
                            <i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i>
                                <cite>银行卡</cite></a>
                        </dd>
                        <dd><a href="javascript:" class="changeSkin"><i class="iconfont icon-huanfu"></i><cite>更换皮肤</cite></a></dd>
                        <dd><a th:href="@{/logout}" class="signOut"><i class="iconfont icon-loginout"></i><cite>退出</cite></a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!-- 左侧导航 -->
    <div class="layui-side layui-bg-black">
        <div class="user-photo" style="height: auto;">
          <!--  <a class="img" title="我的头像" ><img src="images/face.jpg"></a>-->
            <p>你好！<span class="userName" sec:authentication="name"></span>, 欢迎登录</p>
        </div>
        <div class="navBar layui-side-scroll">
            <ul   class="layui-nav layui-nav-tree">
                <li sec:authorize="hasRole('ADMIN')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="layui-icon " ></i>
                        <cite>OEM管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/oem/oemList">
                                <i class="layui-icon" ></i>
                                <cite>OEM列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasRole('ADMIN')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="layui-icon " ></i>
                        <cite>公司注册</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/company/companyList">
                                <i class="layui-icon" ></i>
                                <cite>公司列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('ADMIN')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>设备管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" >
                        <dd>
                            <a href="javascript:" data-url="/deviceBatch/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>设备录入</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>运营管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl  class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/oem/info">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>基本信息</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/oem_config/info">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>配置信息</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/sms/list">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>短信配置信息</cite>
                            </a>
                        </dd>
                    </dl>

                </li>

                <li sec:authorize="hasAnyRole('OEM_MANAGER','AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>代理管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/agency_level/list">
                                <i class="iconfont  icon-menu1"  ></i>
                                <cite>等级设置</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/agency_user/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>代理列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>商家管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>


                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/mch_pay_info/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>商家列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasRole('AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>商家管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>


                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_profit/list">
                                <i class="iconfont  icon-menu1"  ></i>
                                <cite>分润设置</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_user/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>商家列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasRole('ENTERPRISE_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>资料管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/baseInfo/index">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>基本资料</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_info/index">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>商家资料</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/applyment/index">
                                <i class="iconfont icon-text" data-icon="icon-text"></i>
                                <cite>进件资料</cite>
                            </a>
                        </dd>
                    </dl>


                </li>


                <li sec:authorize="hasRole('ENTERPRISE_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>门店管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_store/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>门店列表</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child" sec:authorize="hasAnyRole('ENTERPRISE_CPN')">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_store/store_detailed_list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>优惠券门店</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasAnyRole('OEM_MANAGER','ENTERPRISE_MANAGER','AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>设备管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('ENTERPRISE_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/enterprise_terminal/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>设备列表</cite>
                            </a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" sec:authorize="hasAnyRole('OEM_MANAGER','AGENCY_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/deviceOrder/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>设备列表</cite>
                            </a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" sec:authorize="hasRole('AGENCY_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/apply/list">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>设备申请</cite>
                            </a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" sec:authorize="hasRole('AGENCY_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/assignment/list">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>转出记录</cite>
                            </a>
                        </dd>
                    </dl>
                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/apply/oemList">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>设备申请</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>工单管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/quota_apply_oem/list">
                            <i class="iconfont  icon-menu1"  ></i>
                            <cite>名额申请记录</cite>
                        </a>
                        </dd>
                    </dl>

                </li>


                <li sec:authorize="hasRole('AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>工单管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl sec:authorize="hasAnyRole('AGENCY_MANAGER')" class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/quota_apply_agency/list">
                                <i class="iconfont  icon-menu1"  ></i>
                                <cite>名额申请记录</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/agency_quota/info">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>名额信息</cite>
                            </a>
                        </dd>
                    </dl>

                </li>

                <li  class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>我的收益</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/income/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>收益记录</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasRole('ENTERPRISE_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>我的交易</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/order/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>交易记录</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>代付管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/withdrawOem/info">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>基本配置</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>用户管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/oem_user/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>用户列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>进件管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/alimchinfo/oem_ManageList">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>支付宝进件管理</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>广告管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/advert/index">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>素材管理</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/advert/batchlList">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>推送管理</cite>
                            </a>
                        </dd>
                    </dl>
                </li>


                <li sec:authorize="hasAnyRole('OEM_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>收款码</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" sec:authorize="hasRole('OEM_MANAGER')">
                        <dd>
                            <a href="javascript:" data-url="/mch_payCode/index">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>收款码列表</cite>
                            </a>
                        </dd>
                    </dl>


                </li>


                <li sec:authorize="hasAnyRole('ENTERPRISE_CPN')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>优惠券管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/cpnmachinfo/index">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>商家进件</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/cpnService/index">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>商家服务设置</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/activity/index">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>活动列表</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/cpnStatistics/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>优惠券统计</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('ENTERPRISE_MANAGER','AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>提现管理</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child" >
                        <dd>
                            <a href="javascript:" data-url="/withdrawManage/list">
                                <i class="iconfont icon-menu1"  ></i>
                                <cite>提现记录</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li sec:authorize="hasAnyRole('ENTERPRISE_MANAGER','AGENCY_MANAGER')" class="layui-nav-item">
                    <a href="javascript:">
                        <i class="iconfont icon-dongtaifensishu" ></i>
                        <cite>统计分析</cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/dayCount/today">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>当日明细</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:" data-url="/dayCount/listAgency">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>历史明细</cite>
                            </a>
                        </dd>
                    </dl>

                    <dl class="layui-nav-child" >
                        <dd>
                            <a href="javascript:" data-url="/allCount/listAgency">
                                <i class="iconfont icon-menu1" ></i>
                                <cite>达标统计</cite>
                            </a>
                        </dd>
                    </dl>
                </li>

                <span class="layui-nav-bar" style="top: 112.5px; height: 0px; opacity: 0;"></span>
            </ul>
        </div>
    </div>
    <!-- 右侧内容 -->
    <div class="layui-body layui-form">
        <div class="layui-tab marg0" lay-filter="bodyTab" id="top_tabs_box">
            <ul class="layui-tab-title top_tab" id="top_tabs">

                <li class="layui-this" lay-id=""><i class="iconfont icon-computer"></i> <cite>首页</cite></li>

            </ul>
            <ul class="layui-nav closeBox">
                <li class="layui-nav-item">
                    <a href="javascript:"><i class="iconfont icon-caozuo"></i> 页面操作</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:" class="refresh refreshThis"><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
                        <dd><a href="javascript:" class="closePageOther"><i class="iconfont icon-prohibit"></i> 关闭其他</a></dd>
                        <dd><a href="javascript:" class="closePageAll"><i class="iconfont icon-guanbi"></i> 关闭全部</a></dd>
                    </dl>
                </li>
            </ul>
            <div class="layui-tab-content clildFrame">

                <!--总后台首页-->
                <div  class="layui-tab-item layui-show">
                    <iframe src="/user_satistics/main"></iframe>
                </div>

            </div>
        </div>
    </div>
    <!-- 底部 -->
    <div class="layui-footer footer">
        <p>copyright @2019</p>
    </div>
</div>

<!-- 移动导航 -->
<div class="site-tree-mobile layui-hide"><i class="layui-icon">&#xe602;</i></div>
<div class="site-mobile-shade"></div>

<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
<script type="text/javascript" src="/js/common.js"></script>

</body>
</html>